package club.baibin0558.jstudy.web.controller.common;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/login")
public class LoginController {
    @RequestMapping("")
    public String index () {
        return "{\"code\":20000,\"data\":{\"token\":\"admin\"}}";
    }
}
